package com.itheima.dao;

import com.itheima.domain.Brand;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface BrandDao {
    @Select("select * from tb_brand")
    List<Brand> findAll();
}
